package org.dromara.oce.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.annotation.DataColumn;
import org.dromara.common.mybatis.annotation.DataPermission;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.oce.domain.OceMaterialEverydayCensus;
import org.dromara.oce.domain.vo.OceMaterialEverydayCensusVo;

import java.util.List;

/**
 * 巨量素材每日数据统计Mapper接口
 *
 * @author Lion Li
 * @date 2024-12-24
 */
public interface OceMaterialEverydayCensusMapper extends BaseMapperPlus<OceMaterialEverydayCensus, OceMaterialEverydayCensusVo> {

    @Override
    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id")
    })
    List<OceMaterialEverydayCensus> selectList(IPage<OceMaterialEverydayCensus> page, @Param(Constants.WRAPPER) Wrapper<OceMaterialEverydayCensus> queryWrapper);

    @Override
    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id")
    })
    List<OceMaterialEverydayCensus> selectList(@Param(Constants.WRAPPER) Wrapper<OceMaterialEverydayCensus> queryWrapper);

    List<OceMaterialEverydayCensus> selectJobList(@Param(Constants.WRAPPER) Wrapper<OceMaterialEverydayCensus> queryWrapper);

    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id")
    })
    List<OceMaterialEverydayCensus> selectEditList(@Param(Constants.WRAPPER) Wrapper<OceMaterialEverydayCensus> queryWrapper);

}
